package com.ilife.service;

import java.util.HashMap;
import java.util.Map;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;



/**
 * 测试服务demo
 * @author wangtq
 * @date 2017/1/17
 */
@Service
public class TestService {
	
    @Value("${api.base.uri}")
    private String API_BASE_URI;


    /**
     * 测试服务方法
     * @param type
     * @return
     */
    public String testMethod(String type) {
		Map<String, Object> param = new HashMap<String,Object>();
    	String url = API_BASE_URI+"/v1/api/borrow/selectBannerList";
    	param.put("type", type);
    	//String resultStr = HttpClientUtil.getInstance().post(url, param);
		return "111";
	}
    
}
